#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>

#import "ESRenderer.h"

@class GameController;

@interface BasicRenderer : NSObject <ESRenderer> {
	EAGLContext* context;
	GameController *sharedGameController;
	
	GLint contextWidth;
	GLint contextHeight;
	
	GLuint framebuffer;
	GLuint renderbuffer;
	
	
}

-(void) render;
-(BOOL) resizeFromLayer:(CAEAGLLayer *)layer;
@end

@interface BasicRenderer (Private)
- (void)initOpenGL;
@end